package com.demo.base.exception;

import com.demo.base.bean.CommonStatus;

/**
 * 无效请求异常
 * Created by ethan on 2017/1/14.
 */
public class BadRequestException extends FrameworkException {

    public BadRequestException() {
        super(CommonStatus.BAD_REQUEST);
    }

    public BadRequestException(String message) {
        super(CommonStatus.BAD_REQUEST, message);
    }

    public BadRequestException(Throwable cause) {
        super(CommonStatus.BAD_REQUEST, cause);
    }

    public BadRequestException(String message, Throwable cause) {
        super(CommonStatus.BAD_REQUEST, message, cause);
    }
}
